package com.itany.study.dao;

import com.itany.study.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Author：汤小洋
 * Date：2022-11-28 17:16
 * Description：<描述>
 */
public interface UserDao {

    public User selectByUsername(String username);

    public void insert(User user);

    void updatePwd(@Param("id") Integer id,@Param("newpassword") String newpassword);

    public List<User> selectAll();
}
